
# 猜数字
# 接收用户的输入，看用户猜的内容是否正确

# num = 50
# # input接收的数据是str类型
# guess = int(input("请输入你猜的数:"))

# ##### 第1种 #####
# if guess == num:
#     print("It is ok")

# ##### 第2种 #####
# if guess == num:
#     print("It is ok")
# else:
#     print("Failed")
#
#
# print("finish")

# 用户输入一个成绩，判断是-优良差
# 优: >=90    90-100
# 良：75<= x <90
# 差：< 75
#
score = input("请输入成绩：")
score = int(score)
#
# if 90<= score <=100:
#     print('优')
# elif 75<= score < 90:
#     print('良')
# elif score < 75:
#     print('差')
# else:
#     print('请检查你的输入是否正确！')



### 三元运算
result = '及格' if score>=60 else '不及格'


if score>=60:
    result = '及格'
else:
    result = '不及格'


print(result)